﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ObserverPattern
{
    public class DingYueZhe2 : DingYueZhe
    {
        public DingYueZhe2(string name)
        {
            this.Name = name;
        }

        public override void Update(string name, string status)
        {
            Console.WriteLine($"来自{name}的提醒，{status},{this.name}收到了，继续玩");
        }
    }
}
